package Base;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Alain on 2016/3/12.
 */
@SuppressWarnings("unused")
public class MultipleViewFile<Template>{
    public List<Template> listFiles = new ArrayList<Template>();

    public String speciality, files;

    public void setSpeciality(String speciality) {
        this.speciality = speciality;
    }

    public void setFiles() {
        this.files = JsonUtils.toJson(listFiles);
    }

    public void setListFiles(List<Template> files) {
        if (!files.isEmpty())this.listFiles = files;
    }
}
